package com.zhan.rkforum.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private int id;//消息id
    private int fromId;//发送者id
    private int toId;//接受者id
    private String conversationId;//会话id 规则：from_id_to_id
    private String content;//消息内容
    private int status; //消息状态
    private Date createTime;//创建时间
}
